.mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
}

// 订单弹窗
.orderPayModal {
  position: absolute;
  top: 100px;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;

  .main {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1002;
    padding: 20px;
    background: #1c3a6a;
    border-radius: 20px;
    transform: translateX(-50%) translateY(0);
    .modaltitle {
      margin-bottom: 14px;
      color: #fff;
      text-align: center;
    }

    .spWrapper {
      padding: 20px;
      background-color: #192c53;
      border-radius: 6px;

      .header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 9px;
        color: #7688a5;
        border-bottom: 1px solid #293e6b;
      }

      .nameCol {
        width: 420px;
        min-width: 420px;
        max-width: 420px;
        margin-right: 12px;
        padding-left: 29px;
      }

      .opriceCol {
        width: 217px;
        min-width: 217px;
        max-width: 217px;
        text-align: center;
      }

      .priceCol {
        flex: 1;
        text-align: right;
      }

      .item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;

        &:last-child {
          margin-bottom: 0;
        }

        .nameCol {
          display: flex;
          align-items: center;
          padding-left: 0;

          .img {
            width: 85px;
            height: 69px;
            border-radius: 4px;
          }

          .info {
            flex: 1;
            width: 0;
            margin-left: 10px;

            .title {
              margin-bottom: 8px;
              overflow: hidden;
              color: #fff;
              white-space: nowrap;
              text-overflow: ellipsis;
            }

            .des {
              color: #7688a5;
              font-size: 12px;

              span {
                margin-right: 25px;
              }
            }
          }
        }

        .opriceCol {
          text-align: center;

          .price {
            color: #fff;
          }

          .yh {
            display: inline-block;
            margin-top: 5px;
            padding: 2px 7px;
            color: #fee500;
            background: rgba(254, 229, 0, 0.1);
            border-radius: 4px;
          }
        }

        .priceCol {
          .price {
            color: #ffe400;
          }
        }
      }
      .zuijia {
        display: flex;
        align-items: center;
        min-height: 34px;
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 7px 12px;
        color: #ff743a;
        font-size: 14px;
        background: rgba(255, 116, 58, 0.1);
        border-radius: 6px;
        .icon-zuijia {
          width: 14px;
          min-width: 14px;
          height: 14px;

          margin-right: 8px;
          background: url('./images/icon-zuijia.png') no-repeat center / 100% 100%;
          cursor: pointer;
        }
      }
    }

    .payTypeWrapper {
      margin-top: 8px;
      padding: 20px;
      background: #192c53;
      border-radius: 6px;

      .title {
        margin-bottom: 12px;
        color: #fff;
      }
    }
    .ldxCouponWrapper {
      display: flex;
      align-items: center;
      margin-top: 8px;
      padding: 20px;
      background: #192c53;
      border-radius: 6px;
      .inputWrapper {
        display: flex;
        align-items: center;
        width: 390px;
        height: 36px;
        padding-right: 10px;
        background: #15274b;
        border: 1px solid #293e6b;
        border-radius: 4px;
        .innerinput {
          flex: 1;
          padding: 0 10px;
          color: #fff;
          font-size: 12px;
          background-color: transparent;
          border: none;
          outline: none;
        }
        .submit {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 45px;
          height: 24px;
          color: #fff;
          font-size: 12px;
          background: rgba(37, 77, 248, 0.3);
          border: 1px solid rgba(37, 77, 248, 0.7);
          border-radius: 2px;
          cursor: pointer;
        }
      }
      .tips {
        height: 17px;
        margin-left: 14px;
        color: #7688a5;
        font-size: 12px;
        line-height: 17px;
      }
    }

    .yeWrapper {
      margin-top: 22px;

      .row {
        display: flex;
        align-items: center;
        color: #7688a5;

        .check {
          width: 27px;
          height: 27px;
          margin-right: 4px;
          background: url('./images/icon-check.png') no-repeat center / 100% 100%;
          cursor: pointer;

          &.actived {
            background-image: url('./images/icon-check-actived.png');
          }
        }

        .text {
          margin-left: 16px;
          color: #fff;
          font-size: 16px;
        }
      }
    }

    .footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-top: 20px;
      .list {
        display: flex;
        flex: 1;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        .item {
          margin-right: 16px;
          color: rgba(255, 255, 255, 0.5);

          &.originalPrice {
            color: #7688a5;
            text-decoration: line-through;
          }
        }
      }

      .pay {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 20px;
        font-weight: 600;
        background: #fee500;
        border-radius: 8px;
        cursor: pointer;

        &:hover {
          background-color: #fff381;
        }
        &.paymiao {
          width: 240px;
          height: 40px;
          padding: 0;
          color: #fff;
          background: url('./images/pay-miao-bg.png') no-repeat center / 100%;
          .line {
            background-color: #fff;
          }
        }

        .text {
          font-size: 16px;
        }

        .line {
          width: 1px;
          height: 6px;
          margin: 0 15px;
          background-color: #000;
        }
      }
    }

    .close {
      position: absolute;
      top: 12px;
      right: 20px;
      width: 22px;
      height: 22px;
      cursor: pointer;
    }
  }
}

// 支付方式
.paytype {
  display: flex;
  align-items: flex-start;

  .item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 30px;
    padding: 12px 44px 12px 12px;
    color: #fff;
    border: 1px solid #293e6b;
    border-radius: 4px;
    cursor: pointer;

    &:last-child {
      margin-right: 0;
    }

    &.actived {
      background: rgba(41, 186, 145, 0.1);
      border: 1px solid #29ba91;

      .check {
        background-image: url('./images/icon-radio-actived.png');
      }

      &.xw {
        .options {
          display: block;
        }
      }
    }

    &.xw {
      width: 200px;
      max-width: 200px;
      padding: 12px 6px;
      background-color: transparent;
      border: 1px solid #293e6b;
    }

    .check {
      width: 22px;
      height: 22px;
      margin-right: 8px;
      background: url('./images/icon-radio.png') no-repeat center / 100% 100%;
    }

    .icon {
      width: 25px;
      height: 25px;
      margin-right: 7px;
      background: url('./images/icon-wx.png') no-repeat center / 100% 100%;

      &.ali {
        background-image: url('./images/icon-ali.png');
      }
    }

    .options {
      display: none;
      margin-top: 15px;
      margin-bottom: -6px;

      .option {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 188px;
        height: 54px;
        margin-bottom: 6px;
        background: #293e6b;
        border: 1px solid transparent;
        border-radius: 6px;

        &:last-child {
          margin-bottom: 0;
        }

        &:hover {
          background-color: #0f2042;
        }

        &.actived {
          background: rgba(41, 186, 145, 0.1);
          border-color: #29ba91;

          .optionicon {
            display: block;
          }
        }
      }

      .optionicon {
        position: absolute;
        top: 50%;
        right: 10px;
        display: none;
        width: 22px;
        height: 22px;
        background: url('./images/iocn-option-check.png') no-repeat center / 100% 100%;
        transform: translateY(-50%);
      }

      .num {
        color: #fff;
      }

      .sxf {
        color: #7688a5;
      }
    }
  }
}

// 支付code
.paycode {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;
  &.wxcode {
    .main {
      .header {
        background: url('./images/wechat-bg.png') no-repeat center / 100% 100%;
      }
    }
  }
  &.wxpay {
    .main {
      .header {
        background: url('./images/wx-bg.png') no-repeat center / 100% 100%;
      }
    }
  }
  &.alipay,
  &.fqipay {
    .main {
      .header {
        background: url('./images/ali-bg.png') no-repeat center / 100% 100%;
      }
    }
  }
  &.wxcode {
    .main {
      height: 340px;
    }
  }

  .main {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1002;
    width: 332px;
    height: 428px;
    background: #fff;
    border-radius: 6px;
    transform: translateX(-50%) translateY(-50%);

    .header {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 87px;
      color: #fff;
      font-weight: 600;
      font-size: 16px;

      .tips {
        margin-top: 7px;
        font-size: 12px;
      }
    }

    .body {
      margin-top: 17px;
      text-align: center;

      .money {
        height: 33px;
        margin-bottom: 2px;
        color: #000;
        font-size: 24px;
        line-height: 33px;
      }

      .code {
        width: 186px;
        height: 186px;
        margin: 14px auto 16px auto;
        background-color: #000;
      }

      .ok {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 88px;
        height: 28px;
        margin: 0 auto;
        color: #254df8;
        text-align: center;
        background: rgba(37, 77, 248, 0.1);
        border: 1px solid rgba(37, 77, 248, 0.3);
        border-radius: 14px;
        cursor: pointer;
      }
    }
  }

  .close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
}
.zptips {
  position: absolute;
  top: -130px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  white-space: nowrap;
  background: #fff;
  border-radius: 25px;
  transform: translateX(-50%);
  .iconGou {
    width: 23px;
    height: 23px;
    margin-right: 10px;
    background: url('./images/icon-success.png') no-repeat center / 100% 100%;
  }
}

.paysuccess {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;

  .main {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1002;
    width: 306px;
    padding: 24px;

    background: #1c3a6a;
    border-radius: 12px;
    transform: translateX(-50%) translateY(-50%);

    .success {
      display: block;
      width: 35px;
      height: 35px;
      margin: 0 auto;
      background: url('./images/pay-success.png') no-repeat center / 100% 100%;
    }

    .title {
      margin: 12px 0 14px 0;
      color: #fff;
      font-size: 16px;
      text-align: center;
    }

    .tips {
      margin-bottom: 20px;
      color: #7688a5;
      text-align: center;
    }

    .rz,
    .kc {
      width: 160px;
      height: 36px;
      margin: 0 auto;
      color: #fff;
      line-height: 36px;
      text-align: center;
      background: #254df8;
      border-radius: 18px;
      cursor: pointer;
    }

    .kc {
      margin-top: 12px;
      background: #2f5083;
    }
  }

  .close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
}
